		//						$(function (){
			//								var $xuanxiang = $('.dingdan_xuanxiang');
			//							$xuanxiang.next().hide();
			//							$xuanxiang.click(function() {
			//								$xuanxiang.next().hide();
			//								for(var i = 0; i < $xuanxiang.length; i++) {
			//									$(this).next().show();
			//								};
			//							});
			//						})

			//          div层的切换
			function show(t) {
				var id = "#dingdan_div" + t;
				var $xianshi = $('.xianshi');

				for(var i = 0; i < $xianshi.length; i++) {
					$xianshi.eq(i).hide();
					$(".dingdan_caidan>p").css("background-color", "white")
					$(".dingdan_caidan>p").css("color", "black");
					$("#tu1").attr("src", "img/liwei/icon1 (1).png")
					$(".footer").css("display", "none");

				}
				$(id).show(800);
			}

			$(function() {

				//左侧li选中效果
				$(".dingdan_caidan li").click(function() {
					$(this).parent().parent().find("li").removeClass("dianji");
					$(this).addClass("dianji");
				});
				//首页点击效果
				$("#index").bind("click",function() {
					$(".dingdan_caidan>p").css("color", "white");
					$(".dingdan_caidan>p").css("background-color", "#EA4234");
					$(".footer").css("display", "block");
					//					$(".dingdan_caidan>p").css("background-color", "#EA4234")
					//					if($(".dingdan_caidan>p").children[0].src=="img/liwei/icon1 (1).png"){
					//						$(".dingdan_caidan>p").children[0].src="img/liwei/whiteuser.png";
					//					}
					$(".dingdan_caidan li").parent().parent().find("li").removeClass("dianji");

					if($("#tu1").attr("src") == "img/liwei/icon1 (1).png") {
						//						$("#tu1").src="img/liwei/whiteuser.png";
						$("#tu1").attr("src", "img/liwei/whiteuser.png")
					};
				});
				////				//默认点击
//								$("#index").click();
			});

			function yanzheng() {
				var pbq = document.getElementById("yzp");
				var pwd = document.getElementById("pwd");
				var pwdva = pwd.value;
				var oo = /^\w{6,16}$/;
				var pp = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,16}$/;
				if(oo.test(pwdva)) {
					pbq.innerHTML = "输入密码正确";
					if(pp.test(pwdva)) {
						pbq.innerHTML = "密码强度强";
						pbq.style.color = "green";

					} else {
						pbq.innerHTML = "密码强度弱";
						pbq.style.color = "darkorange";
					}
				} else {
					pbq.innerHTML = "密码格式不正确，格式6-16位的密码不包含特殊字符";
					pbq.style.color = "red";

				}
			}

			function zaici() {
				var pwd = document.getElementById("pwd");
				var pwdv = pwd.value;
				var pwd2 = document.getElementById("pwd2");
				var pwdv2 = pwd2.value;
				var yzp2 = document.getElementById("yzp2");

				if(pwdv == pwdv2 && pwdv2 != "") {
					yzp2.innerHTML = "两次输入的密码一致,正确";
					yzp2.style.color = "green";

				} else {
					yzp2.innerHTML = "*两次输入的密码不一致，错误";
					yzp2.style.color = "red";
				}
			}

			function youxiang() {
				var email = document.getElementById("yx");
				var yzyx = document.getElementById("yzyx");
				var evalue = email.value;
				var e1 = evalue.indexOf("@"); //检索邮箱中的@值首次出现的位置，返回坐标
				var e2 = evalue.lastIndexOf("."); //从后往前检索点，返回第一个
				var e3 = evalue.indexOf(".", e1); //检索@后边的.的位置
				var you = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
				if(you.test(email.value)) {
					yzyx.innerHTML = "邮箱格式正确";
					yzyx.style.color="green"
				} else {
					yzyx.innerHTML = "邮箱格式不正确";
					yzyx.style.color = "red";
				};
			};
			function qq(){
				var qqh =document.getElementById("qq");
				var yzqq =document.getElementById("yzqq"); 
				var qq=/^\d{5,11}$/;
				if(qq.test(qqh.value)) {
					yzqq.innerHTML = "QQ格式正确";
					yzqq.style.color="green"
				} else {
					yzqq.innerHTML = "QQ格式不正确,为5~11位纯数字";
					yzqq.style.color = "red";
				};
			};
			